/*
 * Copyright：fxsen <br/>
 * Date: 2022/1/19 17:22 <br/>
 * Email:fxsen@foxmail.com
 * Author: fxsen
 */
package com.fxsen.commons.sysmanager.core.service.impl;

import com.fxsen.commons.core.base.common.service.impl.CommonServiceImpl;
import com.fxsen.commons.sysmanager.core.entity.UserRole;
import com.fxsen.commons.sysmanager.core.mapper.UserRoleMapper;
import com.fxsen.commons.sysmanager.core.service.IUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @describe: 用户接口服务实现
 * @date: 2022/1/19 17:22
 * @author: fxsen
 */
@Service
public class UserRoleServiceImpl extends CommonServiceImpl<UserRoleMapper,UserRole> implements IUserRoleService {
    @Autowired
    private UserRoleMapper mapper;
    @Override
    public List<UserRole> findByUserId(String userId) {
        return mapper.findByUserId(userId);
    }
}
